home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / JFF-WW5.DMS / in.adf / Tools / DPM Reader < prev    next >
Encoding:
Text File  |  1992-09-02  |  905 b   |  26 lines

  1. ; Utility to grab ENV:, ENVARC: and Wordworth preferences and save them to disk
  2.  
  3. RESIDENT c:relabel
  4. RESIDENT c:copy
  5. RESIDENT c:delete
  6. REQUESTCHOICE >ENV:answer "DPM Reader" "Digita Print Manager Reader v1*n*nPlease place a blank formatted disk*nin your internal drive and then click OK.*n*nWARNING: You should ensure that the*n'Wordworth' disk is not in the internal*ndrive before continuing." "OK|Cancel"
  7. IF $answer EQ "1"
  8.     echo "Please wait..."
  9.     RELABEL df0: DPMdata
  10.  
  11.     ;Copying User Preferences...
  12.     COPY env: DPMdata:env all quiet
  13.  
  14.     ;Copying Saved Preferences...
  15.     COPY envarc: RAM:envarc all quiet
  16.     COPY RAM:envarc DPMdata:envarc all quiet
  17.     DELETE RAM:envarc all quiet
  18.  
  19.   REQUESTCHOICE >ENV:answer "DPM Reader" "All preferences have been*nsaved to the disk." "OK"
  20. ELSE
  21.   REQUESTCHOICE >ENV:answer "DPM Reader" "User Abort." "OK"
  22. ENDIF
  23. RESIDENT relabel REMOVE
  24. RESIDENT copy REMOVE
  25. RESIDENT delete REMOVE
  26.